export const routes = [
    {
      path: '/',
      name: 'Main',
      component: () => import('../views/Main.vue'),
      children:[
        {
          path:'home',
          name:'Home',
          alias:'',
          component: () => import('../views/Home.vue')
        },
        {
          path:'menu',
          name:'Menu',
          component: () => import('../views/Menu.vue')
        },
        {
          path:'shopbag',
          name:'Shopbag',
          component: () => import('../views/Shopbag.vue')
        },
        {
          path:'my',
          name:'My',
          component: () => import('../views/My.vue')
        }
      ]
    },
    {
      path:'/goods',
      name:'Goods',
      component: () => import('../views/Goods.vue')
    },
    {
      path:'/login',
      name:'Login',
      component: () => import('../views/Login.vue')
    },
    {
      path:'/address',
      name:'Address',
      component: () => import('../views/Address.vue')
    },
    {
      path:'/newaddress/:aid?',
      name:'NewAddress',
      component: () => import('../views/NewAddress.vue')
    },
    {
      path:'/order',
      name:'Order',
      component: () => import('../views/Order.vue')
    },
    {
      path:'/information',
      name:'Information',
      component: () => import('../views/Information.vue')
    },
    {
      path:'/like',
      name:'Like',
      component: () => import('../views/Like.vue')
    },
    {
      path:'/myorder',
      name:'Myorder',
      component: () => import('../views/Myorder.vue')
    },
    {
      path:'/security',
      name:'Security',
      component: () => import('../views/Security.vue')
    },
    {
      path:'/findpwd',
      name:'FindPwd',
      component: () => import('../views/FindPwd.vue')
    },
    {
      path:'/findpwdnext',
      name:'FindPwdNext',
      component: () => import('../views/FindPwdNext.vue')
    },
    {
      path:'/search',
      name:'Search',
      component: () => import('../views/Search.vue')
    },
    
  ]